<template>
	<view class="container">
		<view class="exam-list">
			<view class="exam-item" v-for="(item, index) in 8" :key="index" @click="goDetail">
				<view class="exam-title">
					<text>错题本</text>
				</view>
				<view class="exam-extend">
					<view class="do-total">
						<text>160 道错题</text>
					</view>
					<view class="start">
						<text>查看错题</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			goDetail(){
				uni.navigateTo({
					url: "/pages/study/mistake/mistakeList/mistakeList"
				})
			}
		}
	}
</script>
<style>
	page {
		background-color: #f8f8f8;
		font-family: "微软雅黑";
			}
</style>
<style lang="scss" scoped>
	.exam-list{
		padding: 0 30rpx;
		.exam-item{
			margin-bottom: 30rpx;
			border-radius: 20rpx;
			background-color: #ffffff;
			padding: 22rpx;
			box-shadow: 0 0 10px 0 rgba($color: #000000, $alpha: 0.08);
			.exam-title{
				font-size: 28rpx;
				color: #333;
			}
			.exam-extend{
				margin-top: 10rpx;
				display: flex;
				justify-content: space-between;
				align-items: center;
				font-size: 24rpx;
				.do-total{
					color: #888;
				}
				.start{
					background: #c6e2ff;
					color: #337ecc;
					padding: 0 18rpx;
					height: 40rpx;
					border-radius: 40rpx;
					text{
						line-height: 40rpx;
						font-size: 22rpx;
					}
				}
			}
		}
	}
</style>